package com.wx.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>Title:	  medical-cloud <br/> </p>
 * <p>Description TODO <br/> </p>
 * <p>Company:     医百科技有限公司</p>
 *
 * @Author <a href="xinglinglove1029@163.com"/>杨文生</a>  <br/>
 * @Date 2019/11/13 22:43
 */
@Data
public class ReservationDto implements Serializable {
    private static final long serialVersionUID = 5199517309446006039L;

    private String medicalType;

    @NotNull(message = "申请单号不能为空")
    private String inspectForm;

    private String medicalProject;

    @NotNull(message = "申请科室不能为空")
    private String applayOffice;

    private String applayOfficeName;

    @NotNull(message = "申请医生不能为空")
    private String applayDoctor;

    private String applayDoctorName;

    @NotNull(message = "执行科室不能为空")
    private String execOffice;

    private String execOfficeName;

    @DateTimeFormat(pattern="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date reservationDate;

    private String channel;

    private String workId;

    private String userId;

    private String userName;


    private BigDecimal totalMoney;

    @ApiModelProperty(value="排班明细", name = "sourcePlanDetailId")
    private String sourcePlanDetailId;

    @ApiModelProperty(value="号源池", name = "sourcePoolId")
    private String sourcePoolId;

    private String remarks;
}
